Concurrency Control and Recovery in Transactional
نویسندگان
چکیده
The uniied theory of concurrency control and recovery integrates atomicity and isolation within a common framework, thereby avoiding many of the shortcomings resulting from treating them as orthogonal problems. This theory can be applied to the traditional read/write model as well as to semantically rich operations. In this paper, we extend the uniied theory by applying it to generalized process structures , i.e., arbitrary partially ordered sequences of transaction invocations. Using the extended uniied theory, our goal is to provide a more exible handling of concurrent processes while allowing as much parallelism as possible. Unlike in the original uniied theory, we take into account that not all activities of a process might be compensatable and the fact that these process structures require transactional properties more general than in traditional ACID transactions. We provide a correctness criterion for transactional processes and identify the key points in which the more ex-ible structure of transactional processes implies diierences from traditional transactions. 1 Introduction In conventional databases, concurrency control and recovery are well understood problems. Unfortunately, this is not the case when transactions are grouped into entities with higher level semantics, such as transactional processes Alo97]. Some initial work has been done in this direction: studying atomicity (spheres of joint compensation Ley95], or exible transactions ELLR90, ZNBB94]) in a single process and analyzing concurrency control without considering recovery AAHD97]. Practical experience, however, shows that concurrency control and recovery are related problems and they both need to be solved in order to produce complete , feasible solutions. In this paper, we present a rst attempt to develop a theoretical framework in which to reason about concurrency
منابع مشابه
Concurrency Control and Recovery Management for Open e-Business Transactions
Concurrency control mechanisms such as turn-taking, locking, serialization, transactional locking mechanism, and operational transformation try to provide data consistency when concurrent activities are permitted in a reactive system. Locks are typically used in transactional models for assurance of data consistency and integrity in a concurrent environment. In addition, recovery management is ...
متن کاملA Fully Decentralized Approach to Coordinating Transactional Processes in Peer-to-Peer Environments
With the proliferation of e-business, peer-to-peer style business collaboration becomes increasingly popular. In peer-to-peer environments each peer provides a set of services. These services can be composed to processes running over several peers. Although peer-to-peer environments inherently lack global control, some business processes nevertheless require global transactional guarantees, i.e...
متن کاملEfficient Transaction Processing for Hyrise in Mixed Workload Environments
Hyrise is an in-memory storage engine designed for mixed enterprise workloads that originally started as a research prototype for hybrid table layouts and with basic transaction processing capabilities. This paper presents our incremental improvements and learnings to better support transactional consistency in mixed workloads. In particular, the paper addresses a multi-version concurrency cont...
متن کاملSupporting STM in Distributed Systems: Mechanisms and a Java Framework
We present HyFlow — a distributed software transactional memory (D-STM) framework for distributed concurrency control. Lockbased concurrency control suffers from drawbacks including deadlocks, livelocks, and scalability and composability challenges. These problems are exacerbated in distributed systems due to their distributed versions which are more complex to cope with (e.g., distributed dead...
متن کاملDictatorial Transaction Processing : Atomic Commitment without Veto Right 1
The current standard in governing distributed transaction termination is the so-called Two-Phase Commit protocol (2PC). The first phase of 2PC is a voting phase, where the participants in the transaction are given an ultimate right to abort that transaction. Giving up that veto right from all participants reduces the overhead of the atomic commitment protocol but also imposes some restrictions ...
متن کامل